<?php


use think\facade\Route;


Route::post('smssend', 'Sms/sendCode');

Route::post('login', 'Login/index');

Route::resource('user', 'User');

Route::post('logout', 'Logout/logout');

Route::get('category/search/:cid', 'Category/search');
Route::get('category/sub/:cid', 'Category/sub');

Route::get('lists', 'mall.lists/index');

Route::get('detail/:id', 'mall.detail/index');


Route::get('address', 'Address/index');

Route::resource('order', 'order.Index');





